<%= render :partial => "/common/messages"%>
<div class="tab_nav">
    <ul>
        <li id="tab1" class="on"><label><%= t(:a_sys_shop_info)%></label></li>
        <li id="tab2"><label><%= t(:a_sys_company_info)%></label></li>
        <li id="tab3"><label><%= t(:a_set_site)%></label></li>
        <li id="tab4"><label><%= t(:a_sys_email_service)%></label></li>
        <li id="tab5"><label><%= t(:a_sys_water_setting)%></label></li>
        <li id="tab6"><label><%= t(:a_sys_list_setting)%></label></li>
        <li id="tab7"><label><%= t(:a_sys_error_info)%></label></li>
        <li id="tab8"><label><%= t(:a_sys_other_info)%></label></li>
    </ul>
</div>
<% form_tag '/admin/setting/update', :name => 'form1' do-%>
	<div class="tabContent">
		<div id="tc1" class="tabConBody" style="display: block;">
			<%= render :partial => 'tab1'%>
		</div>
		<div id="tc2" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab2'%>
		</div>
		<div id="tc3" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab3'%>
		</div>
		<div id="tc4" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab4'%>
		</div>
		<div id="tc5" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab5'%>
		</div>
		<div id="tc6" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab6'%>
		</div>
		<div id="tc7" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab7'%>
		</div>
		<div id="tc8" class="tabConBody" style="display: none;">
			<%= render :partial => 'tab8'%>
		</div>
		<table class="form_table">
			<tr>
				<th></th>
				<td><%= submit_tag "#{t(:a_update_site)}", :class => "regular-button"%></td>
			</tr>
		</table>
	</div>
<% end%>
<script type="text/javascript">
	tabSwitch();
</script>